package mianshi.jvm.heima;

public class MyDemo {

    private int a = 1;
    private int b = 2;

    public int sum() {
        int c =  a + b;
        return c;
    }

    public static void main(String[] args) {
        MyDemo myDemo = new MyDemo();
        int sum = myDemo.sum();
        System.out.println(sum);
    }

}